package com.fingard.dsp.bank.reqrespobj.elecbilltrans.detail;

import com.fingard.xml.XElement;


public class ReqB111BillAgreeSubmitDetail {
    //    支付请求码
    public String reqSeqID;
    //    银行账号
    public String actNum;
    //    电子票据序列号
    public String billNo;
    //    票据币种
    public String billCur;
    //    业务流水号
    public String busiNo;
    //    同意清偿金额
    public String agreeAmt;

    //    备注
    public String memo;
    //    票面金额
    public String billAmt;
    //    同意清偿人全称
    public String agreeName;
    //    同意清偿人组织机构代码证
    public String agreeCode;
    //    同意清偿人开户行行号
    public String agreeBnkCode;

    public String agreeBnkArea;
    //1-同意 2-拒绝
    public String respFlag;

    //    原业务日期
    public String oldPlatDate;
    //    原业务流水号
    public String oldSeq;

    //出票人名称
    public String billOpenName;
    //出票人账号
    public String billOpenAcc;

    public XElement srcElement;

    public ReqB111BillAgreeSubmitDetail(XElement p_element) throws Exception {
        srcElement = p_element;
        reqSeqID = srcElement.getSingleText("ReqSeqID");
        actNum = srcElement.getSingleText("ActNum");
        billNo = srcElement.getSingleText("BillNo");
        billCur = srcElement.getSingleText("BillCur");
        busiNo = srcElement.getSingleText("BusiNo");
        agreeAmt = srcElement.getSingleText("AgreeAmt");

        memo = srcElement.getSingleText("Memo");
        billAmt = srcElement.getSingleText("BillAmt");
        agreeName = srcElement.getSingleText("AgreeName");
        agreeCode = srcElement.getSingleText("AgreeCode");
        agreeBnkCode = srcElement.getSingleText("AgreeBnkCode");
        agreeBnkArea = srcElement.getSingleText("AgreeBnkArea");
        respFlag = srcElement.getSingleText("RespFlag");

        oldPlatDate = srcElement.getSingleText("OldPlatDate");
        oldSeq = srcElement.getSingleText("OldSeq");

        billOpenName = srcElement.getSingleText("BillOpenName");
        billOpenAcc = srcElement.getSingleText("BillOpenAcc");
    }
}
